#include "block.h"

Block::Block( int a_Index, T_TYPE a_Type /*= NONE*/, int a_GroupID /*= 0*/ )
	: m_Type(a_Type)
	, m_Static(false)
	, m_GroupID(a_GroupID)
	, m_Index(a_Index)
{

}

Block::~Block()
{

}

Block::T_TYPE Block::GetType()
{
	return m_Type;
}

void Block::SetType( T_TYPE a_Type )
{
	m_Type = a_Type;
}

bool Block::IsStatic()
{
	return m_Static;
}

void Block::SetStatic( bool a_Static )
{
	m_Static = a_Static;
}

int Block::GetGroupID()
{
	return m_GroupID;
}

void Block::SetGroupID( int a_GroupID	)
{
	m_GroupID = a_GroupID;
}

bool Block::HasMoved()
{
	return m_HasMoved;
}

void Block::SetHasMoved( bool a_HasMoved )
{
	m_HasMoved = a_HasMoved;
}

void Block::SetIndex( int a_Index )
{
	m_Index = a_Index;
}

int Block::GetIndex()
{
	return m_Index;
}